﻿package com.dykj.platform.iadapter.common;

public class Constants {

	/**
	 * 登录信息的命名空间
	 */
	public static final String LOGIN_NAMESPACE = "urn:xmlns:iadapter.login";
	
  	//路径分隔符 为了方便夸平台
	public static final String FILE_SEPARATOR=System.getProperties().getProperty("file.separator");
	/**
	 * 分隔符
	 */
	public static final String RECORD_SEPARATOR = "#$!";    //多条查询语包间的分隔符
	public static final String LIST_SEPARATOR = "^*$";		 //如果有多条记录，每条记录间的分隔符
	public static final String FIELD_SEPARATOR = "#%@!&";    //记录中字段间的分隔符

	public static final String XML_RECORD_BEG = "<object>";//返回xml中一条记录的标签
	public static final String XML_RECORD_END = "</object>";//返回xml中一条记录的标签
	
	public static final String 	XML_HEAD_BEG = "<begin>"; //xml的头标签
	public static final String 	XML_HEAD_END = "</begin>"; //xml的头标签	
	
	public static final String 	XML_SESSION_BEG = "<sessionid>"; //sessionid标签
	public static final String 	XML_SESSION_END = "</sessionid>"; //sessionid标签

	public static final String 	XML_INDEX_BEG = "<index>"; //第几条记录标签
	public static final String 	XML_INDEX_END = "</index>"; //第几条记录标签
	
	public static final String 	XML_FLAG_BEG = "<flag>"; //标志位标签
	public static final String 	XML_FLAG_END = "</flag>"; //标志位标签
	
	public static final String 	XML_MSG_BEG = "<msg>"; //返回的信息标签
	public static final String 	XML_MSG_END = "</msg>"; //返回的信息标签
	
	public static final String FTP_PATH_BANK = "//home//bank";		 //银行FTP路径
	public static final String JS_PATH_SEPARATOR = "/";		 //js路径分隔符
	public static final String JS_PATH = FILE_SEPARATOR+"common"+FILE_SEPARATOR+"js"+FILE_SEPARATOR+"app"+FILE_SEPARATOR;		 //js默认路径
    public static String ACTION_LOGON = "/loginaction"; // 登录的action
    public static String ACTION_LOGOUT = "/loginaction"; // 退出的action
    
    public static String TEMP_FILE_PATH =FILE_SEPARATOR+"datatemp"+FILE_SEPARATOR+"uploadfile"+FILE_SEPARATOR; //临时文件路径
    
    public static String REAL_FILE_SAVEPATH = FILE_SEPARATOR+"datareal"+FILE_SEPARATOR+"ziptemp"+FILE_SEPARATOR; //正式文件解压路径
    public static String REAL_FILE_REALPATH =FILE_SEPARATOR+"datareal"+FILE_SEPARATOR+"uploadfile"+FILE_SEPARATOR; //正式文件保存路径
    
    public static boolean AUTH_BUTTON = true; //是否控制按钮显示
    
    /** begin 上传文件保存路径 **/
    public static String REALFILE_PATH = "D:\\EarchivesUploadFile\\datareal\\uploadfile\\"; //正式文件保存路径
    public static String TEMPFILE_PATH ="D:\\EarchivesUploadFile\\datatemp\\tempfile\\";//临时单个文件路径
    public static String TEMPZIP_PATH ="D:\\EarchivesUploadFile\\datatemp\\uploadfile\\";//临时压缩文件路径
    /** end 上传文件保存路径 **/	
}
